<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>D (owl-base.Owl_base_dense_ndarray.D)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../../index.html">owl-base</a> &#x00BB; <a href="../index.html">Owl_base_dense_ndarray</a> &#x00BB; D</nav><h1>Module <code>Owl_base_dense_ndarray.D</code></h1></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_base_dense_ndarray_d/index.html">Owl_base_dense_ndarray_d</a></code></span></summary><dl><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code><code> = float</code></dt><dt class="spec type" id="type-arr"><a href="#type-arr" class="anchor"></a><code><span class="keyword">type</span> arr</code><code> = <span><span>(float, Stdlib.Bigarray.float64_elt, Stdlib.Bigarray.c_layout)</span> Stdlib.Bigarray.Genarray.t</span></code></dt></dl><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_base_dense_ndarray_intf/index.html#module-type-Common">Owl_base_dense_ndarray_intf.Common</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../../Owl_base_dense_ndarray_intf/module-type-Common/index.html#type-arr">arr</a> := <a href="index.html#type-arr">arr</a> <span class="keyword">and</span> <span class="keyword">type</span> <a href="../../Owl_base_dense_ndarray_intf/module-type-Common/index.html#type-elt">elt</a> := <a href="index.html#type-elt">elt</a></code></span></summary><dl><dt class="spec type" id="type-arr"><a href="#type-arr" class="anchor"></a><code><span class="keyword">type</span> arr</code></dt><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code></dt></dl><dl><dt class="spec value" id="val-number"><a href="#val-number" class="anchor"></a><code><span class="keyword">val</span> number : <a href="../../Owl_types_common/index.html#type-number">Owl_types_common.number</a></code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val</span> empty : <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-zeros"><a href="#val-zeros" class="anchor"></a><code><span class="keyword">val</span> zeros : <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-ones"><a href="#val-ones" class="anchor"></a><code><span class="keyword">val</span> ones : <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-init"><a href="#val-init" class="anchor"></a><code><span class="keyword">val</span> init : <span>int array</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-init_nd"><a href="#val-init_nd" class="anchor"></a><code><span class="keyword">val</span> init_nd : <span>int array</span> <span>&#45;&gt;</span> <span>(<span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sequential"><a href="#val-sequential" class="anchor"></a><code><span class="keyword">val</span> sequential : <span>?&#8288;a:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;step:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-uniform"><a href="#val-uniform" class="anchor"></a><code><span class="keyword">val</span> uniform : <span>?&#8288;a:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;b:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-gaussian"><a href="#val-gaussian" class="anchor"></a><code><span class="keyword">val</span> gaussian : <span>?&#8288;mu:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;sigma:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-bernoulli"><a href="#val-bernoulli" class="anchor"></a><code><span class="keyword">val</span> bernoulli : <span>?&#8288;p:float</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-shape"><a href="#val-shape" class="anchor"></a><code><span class="keyword">val</span> shape : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-numel"><a href="#val-numel" class="anchor"></a><code><span class="keyword">val</span> numel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-strides"><a href="#val-strides" class="anchor"></a><code><span class="keyword">val</span> strides : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dd><p>Refer to :doc:`owl_dense_ndarray_generic`</p></dd></dl><dl><dt class="spec value" id="val-slice_size"><a href="#val-slice_size" class="anchor"></a><code><span class="keyword">val</span> slice_size : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dd><p>Refer to :doc:`owl_dense_ndarray_generic`</p></dd></dl><dl><dt class="spec value" id="val-get"><a href="#val-get" class="anchor"></a><code><span class="keyword">val</span> get : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val</span> set : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_slice"><a href="#val-get_slice" class="anchor"></a><code><span class="keyword">val</span> get_slice : <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-set_slice"><a href="#val-set_slice" class="anchor"></a><code><span class="keyword">val</span> set_slice : <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-copy"><a href="#val-copy" class="anchor"></a><code><span class="keyword">val</span> copy : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-copy_"><a href="#val-copy_" class="anchor"></a><code><span class="keyword">val</span> copy_ : <span>out:<a href="index.html#type-arr">arr</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reset"><a href="#val-reset" class="anchor"></a><code><span class="keyword">val</span> reset : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reshape"><a href="#val-reshape" class="anchor"></a><code><span class="keyword">val</span> reshape : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-flatten"><a href="#val-flatten" class="anchor"></a><code><span class="keyword">val</span> flatten : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-reverse"><a href="#val-reverse" class="anchor"></a><code><span class="keyword">val</span> reverse : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-tile"><a href="#val-tile" class="anchor"></a><code><span class="keyword">val</span> tile : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-repeat"><a href="#val-repeat" class="anchor"></a><code><span class="keyword">val</span> repeat : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-concatenate"><a href="#val-concatenate" class="anchor"></a><code><span class="keyword">val</span> concatenate : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span><a href="index.html#type-arr">arr</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-squeeze"><a href="#val-squeeze" class="anchor"></a><code><span class="keyword">val</span> squeeze : <span>?&#8288;axis:<span>int array</span></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-expand"><a href="#val-expand" class="anchor"></a><code><span class="keyword">val</span> expand : <span>?&#8288;hi:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val</span> split : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span><a href="index.html#type-arr">arr</a> array</span></code></dt><dt class="spec value" id="val-draw"><a href="#val-draw" class="anchor"></a><code><span class="keyword">val</span> draw : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> * <span>int array</span></code></dt><dt class="spec value" id="val-pad"><a href="#val-pad" class="anchor"></a><code><span class="keyword">val</span> pad : <span>?&#8288;v:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-one_hot"><a href="#val-one_hot" class="anchor"></a><code><span class="keyword">val</span> one_hot : int <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val</span> print : <span>?&#8288;max_row:int</span> <span>&#45;&gt;</span> <span>?&#8288;max_col:int</span> <span>&#45;&gt;</span> <span>?&#8288;header:bool</span> <span>&#45;&gt;</span> <span>?&#8288;fmt:<span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> string)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val</span> abs : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val</span> neg : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-floor"><a href="#val-floor" class="anchor"></a><code><span class="keyword">val</span> floor : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-ceil"><a href="#val-ceil" class="anchor"></a><code><span class="keyword">val</span> ceil : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-round"><a href="#val-round" class="anchor"></a><code><span class="keyword">val</span> round : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sqr"><a href="#val-sqr" class="anchor"></a><code><span class="keyword">val</span> sqr : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sqrt"><a href="#val-sqrt" class="anchor"></a><code><span class="keyword">val</span> sqrt : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-log"><a href="#val-log" class="anchor"></a><code><span class="keyword">val</span> log : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-log2"><a href="#val-log2" class="anchor"></a><code><span class="keyword">val</span> log2 : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-log10"><a href="#val-log10" class="anchor"></a><code><span class="keyword">val</span> log10 : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-exp"><a href="#val-exp" class="anchor"></a><code><span class="keyword">val</span> exp : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sin"><a href="#val-sin" class="anchor"></a><code><span class="keyword">val</span> sin : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-cos"><a href="#val-cos" class="anchor"></a><code><span class="keyword">val</span> cos : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-tan"><a href="#val-tan" class="anchor"></a><code><span class="keyword">val</span> tan : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sinh"><a href="#val-sinh" class="anchor"></a><code><span class="keyword">val</span> sinh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-cosh"><a href="#val-cosh" class="anchor"></a><code><span class="keyword">val</span> cosh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-tanh"><a href="#val-tanh" class="anchor"></a><code><span class="keyword">val</span> tanh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-asin"><a href="#val-asin" class="anchor"></a><code><span class="keyword">val</span> asin : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-acos"><a href="#val-acos" class="anchor"></a><code><span class="keyword">val</span> acos : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-atan"><a href="#val-atan" class="anchor"></a><code><span class="keyword">val</span> atan : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-asinh"><a href="#val-asinh" class="anchor"></a><code><span class="keyword">val</span> asinh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-acosh"><a href="#val-acosh" class="anchor"></a><code><span class="keyword">val</span> acosh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-atanh"><a href="#val-atanh" class="anchor"></a><code><span class="keyword">val</span> atanh : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-min"><a href="#val-min" class="anchor"></a><code><span class="keyword">val</span> min : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max"><a href="#val-max" class="anchor"></a><code><span class="keyword">val</span> max : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sum"><a href="#val-sum" class="anchor"></a><code><span class="keyword">val</span> sum : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sum_reduce"><a href="#val-sum_reduce" class="anchor"></a><code><span class="keyword">val</span> sum_reduce : <span>?&#8288;axis:<span>int array</span></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-min'"><a href="#val-min'" class="anchor"></a><code><span class="keyword">val</span> min' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-max'"><a href="#val-max'" class="anchor"></a><code><span class="keyword">val</span> max' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-sum'"><a href="#val-sum'" class="anchor"></a><code><span class="keyword">val</span> sum' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-pow"><a href="#val-pow" class="anchor"></a><code><span class="keyword">val</span> pow : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_pow"><a href="#val-scalar_pow" class="anchor"></a><code><span class="keyword">val</span> scalar_pow : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-pow_scalar"><a href="#val-pow_scalar" class="anchor"></a><code><span class="keyword">val</span> pow_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val</span> add : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sub"><a href="#val-sub" class="anchor"></a><code><span class="keyword">val</span> sub : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-mul"><a href="#val-mul" class="anchor"></a><code><span class="keyword">val</span> mul : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-div"><a href="#val-div" class="anchor"></a><code><span class="keyword">val</span> div : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-add_scalar"><a href="#val-add_scalar" class="anchor"></a><code><span class="keyword">val</span> add_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sub_scalar"><a href="#val-sub_scalar" class="anchor"></a><code><span class="keyword">val</span> sub_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-mul_scalar"><a href="#val-mul_scalar" class="anchor"></a><code><span class="keyword">val</span> mul_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-div_scalar"><a href="#val-div_scalar" class="anchor"></a><code><span class="keyword">val</span> div_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_add"><a href="#val-scalar_add" class="anchor"></a><code><span class="keyword">val</span> scalar_add : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_sub"><a href="#val-scalar_sub" class="anchor"></a><code><span class="keyword">val</span> scalar_sub : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_mul"><a href="#val-scalar_mul" class="anchor"></a><code><span class="keyword">val</span> scalar_mul : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_div"><a href="#val-scalar_div" class="anchor"></a><code><span class="keyword">val</span> scalar_div : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-fma"><a href="#val-fma" class="anchor"></a><code><span class="keyword">val</span> fma : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt></dl><section><header><h6 id="iterate-array-elements"><a href="#iterate-array-elements" class="anchor"></a>Iterate array elements</h6></header><dl><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val</span> iteri : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val</span> iter : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val</span> mapi : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val</span> map : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val</span> filteri : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val</span> filter : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-foldi"><a href="#val-foldi" class="anchor"></a><code><span class="keyword">val</span> foldi : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val</span> fold : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scani"><a href="#val-scani" class="anchor"></a><code><span class="keyword">val</span> scani : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scan"><a href="#val-scan" class="anchor"></a><code><span class="keyword">val</span> scan : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt></dl></section><section><header><h6 id="examination-&amp;-comparison"><a href="#examination-&amp;-comparison" class="anchor"></a>Examination &amp; Comparison</h6></header><dl><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val</span> exists : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_exists"><a href="#val-not_exists" class="anchor"></a><code><span class="keyword">val</span> not_exists : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val</span> for_all : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_zero"><a href="#val-is_zero" class="anchor"></a><code><span class="keyword">val</span> is_zero : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_positive"><a href="#val-is_positive" class="anchor"></a><code><span class="keyword">val</span> is_positive : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_negative"><a href="#val-is_negative" class="anchor"></a><code><span class="keyword">val</span> is_negative : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_nonpositive"><a href="#val-is_nonpositive" class="anchor"></a><code><span class="keyword">val</span> is_nonpositive : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_nonnegative"><a href="#val-is_nonnegative" class="anchor"></a><code><span class="keyword">val</span> is_nonnegative : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_normal"><a href="#val-is_normal" class="anchor"></a><code><span class="keyword">val</span> is_normal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_nan"><a href="#val-not_nan" class="anchor"></a><code><span class="keyword">val</span> not_nan : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_inf"><a href="#val-not_inf" class="anchor"></a><code><span class="keyword">val</span> not_inf : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val</span> equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_equal"><a href="#val-not_equal" class="anchor"></a><code><span class="keyword">val</span> not_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater"><a href="#val-greater" class="anchor"></a><code><span class="keyword">val</span> greater : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less"><a href="#val-less" class="anchor"></a><code><span class="keyword">val</span> less : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_equal"><a href="#val-greater_equal" class="anchor"></a><code><span class="keyword">val</span> greater_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_equal"><a href="#val-less_equal" class="anchor"></a><code><span class="keyword">val</span> less_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-elt_equal"><a href="#val-elt_equal" class="anchor"></a><code><span class="keyword">val</span> elt_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_not_equal"><a href="#val-elt_not_equal" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_less"><a href="#val-elt_less" class="anchor"></a><code><span class="keyword">val</span> elt_less : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_greater"><a href="#val-elt_greater" class="anchor"></a><code><span class="keyword">val</span> elt_greater : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_less_equal"><a href="#val-elt_less_equal" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_greater_equal"><a href="#val-elt_greater_equal" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-equal_scalar"><a href="#val-equal_scalar" class="anchor"></a><code><span class="keyword">val</span> equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_equal_scalar"><a href="#val-not_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> not_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_scalar"><a href="#val-less_scalar" class="anchor"></a><code><span class="keyword">val</span> less_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_scalar"><a href="#val-greater_scalar" class="anchor"></a><code><span class="keyword">val</span> greater_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_equal_scalar"><a href="#val-less_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> less_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_equal_scalar"><a href="#val-greater_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> greater_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-elt_equal_scalar"><a href="#val-elt_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_not_equal_scalar"><a href="#val-elt_not_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_less_scalar"><a href="#val-elt_less_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_less_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_greater_scalar"><a href="#val-elt_greater_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_greater_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_less_equal_scalar"><a href="#val-elt_less_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-elt_greater_equal_scalar"><a href="#val-elt_greater_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-row_num"><a href="#val-row_num" class="anchor"></a><code><span class="keyword">val</span> row_num : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-col_num"><a href="#val-col_num" class="anchor"></a><code><span class="keyword">val</span> col_num : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-row"><a href="#val-row" class="anchor"></a><code><span class="keyword">val</span> row : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-rows"><a href="#val-rows" class="anchor"></a><code><span class="keyword">val</span> rows : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-copy_row_to"><a href="#val-copy_row_to" class="anchor"></a><code><span class="keyword">val</span> copy_row_to : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-copy_col_to"><a href="#val-copy_col_to" class="anchor"></a><code><span class="keyword">val</span> copy_col_to : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-diag"><a href="#val-diag" class="anchor"></a><code><span class="keyword">val</span> diag : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose"><a href="#val-transpose" class="anchor"></a><code><span class="keyword">val</span> transpose : <span>?&#8288;axis:<span>int array</span></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-to_rows"><a href="#val-to_rows" class="anchor"></a><code><span class="keyword">val</span> to_rows : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span><a href="index.html#type-arr">arr</a> array</span></code></dt><dt class="spec value" id="val-of_rows"><a href="#val-of_rows" class="anchor"></a><code><span class="keyword">val</span> of_rows : <span><a href="index.html#type-arr">arr</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-to_cols"><a href="#val-to_cols" class="anchor"></a><code><span class="keyword">val</span> to_cols : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span><a href="index.html#type-arr">arr</a> array</span></code></dt><dt class="spec value" id="val-of_cols"><a href="#val-of_cols" class="anchor"></a><code><span class="keyword">val</span> of_cols : <span><a href="index.html#type-arr">arr</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-of_array"><a href="#val-of_array" class="anchor"></a><code><span class="keyword">val</span> of_array : <span><a href="index.html#type-elt">elt</a> array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-of_arrays"><a href="#val-of_arrays" class="anchor"></a><code><span class="keyword">val</span> of_arrays : <span><span><a href="index.html#type-elt">elt</a> array</span> array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt></dl></section></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_base_dense_ndarray_intf/index.html#module-type-Real">Owl_base_dense_ndarray_intf.Real</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../../Owl_base_dense_ndarray_intf/module-type-Real/index.html#type-arr">arr</a> := <a href="index.html#type-arr">arr</a> <span class="keyword">and</span> <span class="keyword">type</span> <a href="../../Owl_base_dense_ndarray_intf/module-type-Real/index.html#type-elt">elt</a> := <a href="index.html#type-elt">elt</a></code></span></summary><dl><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code></dt><dt class="spec type" id="type-arr"><a href="#type-arr" class="anchor"></a><code><span class="keyword">type</span> arr</code></dt></dl><dl><dt class="spec value" id="val-sum_slices"><a href="#val-sum_slices" class="anchor"></a><code><span class="keyword">val</span> sum_slices : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-signum"><a href="#val-signum" class="anchor"></a><code><span class="keyword">val</span> signum : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-sigmoid"><a href="#val-sigmoid" class="anchor"></a><code><span class="keyword">val</span> sigmoid : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-relu"><a href="#val-relu" class="anchor"></a><code><span class="keyword">val</span> relu : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-l1norm'"><a href="#val-l1norm'" class="anchor"></a><code><span class="keyword">val</span> l1norm' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-l2norm'"><a href="#val-l2norm'" class="anchor"></a><code><span class="keyword">val</span> l2norm' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-l2norm_sqr'"><a href="#val-l2norm_sqr'" class="anchor"></a><code><span class="keyword">val</span> l2norm_sqr' : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-clip_by_value"><a href="#val-clip_by_value" class="anchor"></a><code><span class="keyword">val</span> clip_by_value : <span>?&#8288;amin:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;amax:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-clip_by_l2norm"><a href="#val-clip_by_l2norm" class="anchor"></a><code><span class="keyword">val</span> clip_by_l2norm : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-atan2"><a href="#val-atan2" class="anchor"></a><code><span class="keyword">val</span> atan2 : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-scalar_atan2"><a href="#val-scalar_atan2" class="anchor"></a><code><span class="keyword">val</span> scalar_atan2 : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-atan2_scalar"><a href="#val-atan2_scalar" class="anchor"></a><code><span class="keyword">val</span> atan2_scalar : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-approx_equal"><a href="#val-approx_equal" class="anchor"></a><code><span class="keyword">val</span> approx_equal : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-approx_equal_scalar"><a href="#val-approx_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> approx_equal_scalar : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-approx_elt_equal"><a href="#val-approx_elt_equal" class="anchor"></a><code><span class="keyword">val</span> approx_elt_equal : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-approx_elt_equal_scalar"><a href="#val-approx_elt_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> approx_elt_equal_scalar : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dot"><a href="#val-dot" class="anchor"></a><code><span class="keyword">val</span> dot : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-trace"><a href="#val-trace" class="anchor"></a><code><span class="keyword">val</span> trace : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt></dl><section><header><h6 id="helper-functions"><a href="#helper-functions" class="anchor"></a>Helper functions</h6></header><dl><dt class="spec value" id="val-float_to_elt"><a href="#val-float_to_elt" class="anchor"></a><code><span class="keyword">val</span> float_to_elt : float <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-elt_to_float"><a href="#val-elt_to_float" class="anchor"></a><code><span class="keyword">val</span> elt_to_float : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> float</code></dt></dl></section></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_base_dense_ndarray_intf/index.html#module-type-NN">Owl_base_dense_ndarray_intf.NN</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../../Owl_base_dense_ndarray_intf/module-type-NN/index.html#type-arr">arr</a> := <a href="index.html#type-arr">arr</a></code></span></summary><dl><dt class="spec type" id="type-arr"><a href="#type-arr" class="anchor"></a><code><span class="keyword">type</span> arr</code></dt></dl><dl><dt class="spec value" id="val-conv1d"><a href="#val-conv1d" class="anchor"></a><code><span class="keyword">val</span> conv1d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv2d"><a href="#val-conv2d" class="anchor"></a><code><span class="keyword">val</span> conv2d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv3d"><a href="#val-conv3d" class="anchor"></a><code><span class="keyword">val</span> conv3d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv1d"><a href="#val-dilated_conv1d" class="anchor"></a><code><span class="keyword">val</span> dilated_conv1d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv2d"><a href="#val-dilated_conv2d" class="anchor"></a><code><span class="keyword">val</span> dilated_conv2d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv3d"><a href="#val-dilated_conv3d" class="anchor"></a><code><span class="keyword">val</span> dilated_conv3d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv1d"><a href="#val-transpose_conv1d" class="anchor"></a><code><span class="keyword">val</span> transpose_conv1d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv2d"><a href="#val-transpose_conv2d" class="anchor"></a><code><span class="keyword">val</span> transpose_conv2d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv3d"><a href="#val-transpose_conv3d" class="anchor"></a><code><span class="keyword">val</span> transpose_conv3d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool1d"><a href="#val-max_pool1d" class="anchor"></a><code><span class="keyword">val</span> max_pool1d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool2d"><a href="#val-max_pool2d" class="anchor"></a><code><span class="keyword">val</span> max_pool2d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool3d"><a href="#val-max_pool3d" class="anchor"></a><code><span class="keyword">val</span> max_pool3d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool1d"><a href="#val-avg_pool1d" class="anchor"></a><code><span class="keyword">val</span> avg_pool1d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool2d"><a href="#val-avg_pool2d" class="anchor"></a><code><span class="keyword">val</span> avg_pool2d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool3d"><a href="#val-avg_pool3d" class="anchor"></a><code><span class="keyword">val</span> avg_pool3d : <span>?&#8288;padding:<a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-upsampling2d"><a href="#val-upsampling2d" class="anchor"></a><code><span class="keyword">val</span> upsampling2d : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv1d_backward_input"><a href="#val-conv1d_backward_input" class="anchor"></a><code><span class="keyword">val</span> conv1d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv1d_backward_kernel"><a href="#val-conv1d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> conv1d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv2d_backward_input"><a href="#val-conv2d_backward_input" class="anchor"></a><code><span class="keyword">val</span> conv2d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv2d_backward_kernel"><a href="#val-conv2d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> conv2d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv3d_backward_input"><a href="#val-conv3d_backward_input" class="anchor"></a><code><span class="keyword">val</span> conv3d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-conv3d_backward_kernel"><a href="#val-conv3d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> conv3d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv1d_backward_input"><a href="#val-dilated_conv1d_backward_input" class="anchor"></a><code><span class="keyword">val</span> dilated_conv1d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv1d_backward_kernel"><a href="#val-dilated_conv1d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> dilated_conv1d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv2d_backward_input"><a href="#val-dilated_conv2d_backward_input" class="anchor"></a><code><span class="keyword">val</span> dilated_conv2d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv2d_backward_kernel"><a href="#val-dilated_conv2d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> dilated_conv2d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv3d_backward_input"><a href="#val-dilated_conv3d_backward_input" class="anchor"></a><code><span class="keyword">val</span> dilated_conv3d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-dilated_conv3d_backward_kernel"><a href="#val-dilated_conv3d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> dilated_conv3d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv1d_backward_input"><a href="#val-transpose_conv1d_backward_input" class="anchor"></a><code><span class="keyword">val</span> transpose_conv1d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv1d_backward_kernel"><a href="#val-transpose_conv1d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> transpose_conv1d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv2d_backward_input"><a href="#val-transpose_conv2d_backward_input" class="anchor"></a><code><span class="keyword">val</span> transpose_conv2d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv2d_backward_kernel"><a href="#val-transpose_conv2d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> transpose_conv2d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv3d_backward_input"><a href="#val-transpose_conv3d_backward_input" class="anchor"></a><code><span class="keyword">val</span> transpose_conv3d_backward_input : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-transpose_conv3d_backward_kernel"><a href="#val-transpose_conv3d_backward_kernel" class="anchor"></a><code><span class="keyword">val</span> transpose_conv3d_backward_kernel : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool1d_backward"><a href="#val-max_pool1d_backward" class="anchor"></a><code><span class="keyword">val</span> max_pool1d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool2d_backward"><a href="#val-max_pool2d_backward" class="anchor"></a><code><span class="keyword">val</span> max_pool2d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-max_pool3d_backward"><a href="#val-max_pool3d_backward" class="anchor"></a><code><span class="keyword">val</span> max_pool3d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool1d_backward"><a href="#val-avg_pool1d_backward" class="anchor"></a><code><span class="keyword">val</span> avg_pool1d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool2d_backward"><a href="#val-avg_pool2d_backward" class="anchor"></a><code><span class="keyword">val</span> avg_pool2d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-avg_pool3d_backward"><a href="#val-avg_pool3d_backward" class="anchor"></a><code><span class="keyword">val</span> avg_pool3d_backward : <a href="../../Owl_types_common/index.html#type-padding">Owl_types_common.padding</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt><dt class="spec value" id="val-upsampling2d_backward"><a href="#val-upsampling2d_backward" class="anchor"></a><code><span class="keyword">val</span> upsampling2d_backward : <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a> <span>&#45;&gt;</span> <a href="index.html#type-arr">arr</a></code></dt></dl></details></div></div></div></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../index.html#module-Operator">Operator</a></code></span></summary><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(+)"><a href="#val-(+)" class="anchor"></a><code><span class="keyword">val</span> (+) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(-)"><a href="#val-(-)" class="anchor"></a><code><span class="keyword">val</span> (-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(*)"><a href="#val-(*)" class="anchor"></a><code><span class="keyword">val</span> (*) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(/)"><a href="#val-(/)" class="anchor"></a><code><span class="keyword">val</span> (/) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(+$)"><a href="#val-(+$)" class="anchor"></a><code><span class="keyword">val</span> (+$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(-$)"><a href="#val-(-$)" class="anchor"></a><code><span class="keyword">val</span> (-$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(*$)"><a href="#val-(*$)" class="anchor"></a><code><span class="keyword">val</span> (*$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(/$)"><a href="#val-(/$)" class="anchor"></a><code><span class="keyword">val</span> (/$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-($+)"><a href="#val-($+)" class="anchor"></a><code><span class="keyword">val</span> ($+) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-($-)"><a href="#val-($-)" class="anchor"></a><code><span class="keyword">val</span> ($-) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-($*)"><a href="#val-($*)" class="anchor"></a><code><span class="keyword">val</span> ($*) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-($/)"><a href="#val-($/)" class="anchor"></a><code><span class="keyword">val</span> ($/) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span></code></dt><dt class="spec value" id="val-(=)"><a href="#val-(=)" class="anchor"></a><code><span class="keyword">val</span> (=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(!=)"><a href="#val-(!=)" class="anchor"></a><code><span class="keyword">val</span> (!=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;&gt;)"><a href="#val-(&lt;&gt;)" class="anchor"></a><code><span class="keyword">val</span> (&lt;&gt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;)"><a href="#val-(&gt;)" class="anchor"></a><code><span class="keyword">val</span> (&gt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;)"><a href="#val-(&lt;)" class="anchor"></a><code><span class="keyword">val</span> (&lt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;=)"><a href="#val-(&gt;=)" class="anchor"></a><code><span class="keyword">val</span> (&gt;=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;=)"><a href="#val-(&lt;=)" class="anchor"></a><code><span class="keyword">val</span> (&lt;=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(.%{})"><a href="#val-(.%{})" class="anchor"></a><code><span class="keyword">val</span> (.%{}) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-(.%{}&lt;-)"><a href="#val-(.%{}&lt;-)" class="anchor"></a><code><span class="keyword">val</span> (.%{}&lt;-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_base_dense_ndarray_generic/index.html#type-t">Owl_base_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt></dl></details></div></div></div></details></div></div></div></div></body></html>